<!DOCTYPE html>
<html lang="Zh-CN">
<head>
    <!--

                                       .. .vr
                                     qBMBBBMBMY
                                    8BBBBBOBMBMv
                                  iMBMM5vOY:BMBBv
                  .r,             OBM;   .: rBBBBBY
                  vUL             7BB   .;7. LBMMBBM.
                 .@Wwz.           :uvir .i:.iLMOMOBM..
                  vv::r;             iY. ...rv,@arqiao.
                   Li. i:             v:.::::7vOBBMBL..
                   ,i7: vSUi,         :M7.:.,:u08OP. .
                     .N2k5u1ju7,..     BMGiiL7   ,i,i.
                      :rLjFYjvjLY7r::.  ;v  vr... rE8q;.:,,
                     751jSLXPFu5uU@guohezou.,1vjY2E8@Yizero.
                     BB:FMu rkM8Eq0PFjF15FZ0Xu15F25uuLuu25Gi.
                   ivSvvXL    :v58ZOGZXF2UUkFSFkU1u125uUJUUZ,
                 :@kevensun.      ,iY20GOXSUXkSuS2F5XXkUX5SEv.
             .:i0BMBMBBOOBMUi;,        ,;8PkFP5NkPXkFqPEqqkZu.
           .rqMqBBMOMMBMBBBM .           @kexianli.S11kFSU5q5
         .7BBOi1L1MM8BBBOMBB..,          8kqS52XkkU1Uqkk1kUEJ
         .;MBZ;iiMBMBMMOBBBu ,           1OkS1F1X5kPP112F51kU
           .rPY  OMBMBBBMBB2 ,.          rME5SSSFk1XPqFNkSUPZ,.
                  ;;JuBML::r:.:.,,        SZPX0SXSP5kXGNP15UBr.
                      L,    :@huhao.      :MNZqNXqSqXk2E0PSXPE .
                  viLBX.,,v8Bj. i:r7:,     2Zkqq0XXSNN0NOXXSXOU
                :r2. rMBGBMGi .7Y, 1i::i   vO0PMNNSXXEqP@Secbone.
                .i1r. .jkY,    vE. iY....  20Fq0q5X5F1S2F22uuv1M;


             改改改，改你妹啊
             好吧其实这只是一个彩蛋而且我还是抄的，如果你发现了它，请明年来微软网络部吧，给跪了。
             ↑另外，彩蛋个数为2
             如果你有意向，请联系我：      QQ：865796691
             另外加个广告，
             这是我的博客：http://xsky.me
             这是我的代码盒子（欢迎讨论）：http://codebox.pw
                                                                --- SkyAo 添加于2014-03-29

    -->
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <title><?php echo $title; ?> - SMU Poster</title>
    <link rel="icon" type="image/x-icon" href="<?php echo base_url() . 'favicon.ico' ?>"/>
    <link rel="stylesheet" href="<?php echo base_url() . 'css/bootstrap.css' ?>">
    <link rel="stylesheet" href="<?php echo base_url() . 'css/style.css' ?>">
    <link rel="stylesheet" href="<?php echo base_url() . 'fancybox/jquery.fancybox.css?v=2.1.5' ?>" type="text/css" media="screen" />
    <script src="<?php echo base_url() . 'js/jquery-1.9.0.js' ?>"></script>
    <script src="<?php echo base_url() . 'js/bootstrap.js' ?>"></script>
    <script type="text/javascript" src="<?php echo base_url() . 'fancybox/jquery.fancybox.pack.js?v=2.1.'?>"></script>
</head>

<body>
<div id="wrap">

    <nav class="navbar navbar-default navbar-static-top" role="navigation">
        <div class="container">
            <div class="navbar-header">
                <a class="navbar-brand" href="#">Poster</a>
            </div>
            <div class="collapse navbar-collapse" id="'poster-nav">
                <ul class="nav navbar-nav">
                    <li <?php echo (uri_string() == '')? 'class="active"': ''; ?>><a href="<?php echo base_url().''; ?>">首页</a></li>
                    <li <?php echo (uri_string() == 'lists')? 'class="active"': ''; ?>><a href="<?php echo base_url().'lists'; ?>">作品列表</a></li>
                    <li <?php echo (uri_string() == 'ranking')? 'class="active"': ''; ?>><a href="<?php echo base_url().'ranking'; ?>">查看排名</a></li>
                </ul>
                <div class="right-side">
                    <?php if (isset($this->session->userdata['login'])) { ?>
                    <a href="<?php echo base_url().'poster_admin'; ?>"><button type="button" class="btn btn-primary navbar-btn">返回后台</button></a>
                    <a href="<?php echo base_url().'poster_admin/logout'; ?>"><button type="button" class="btn btn-default navbar-btn">登出</button></a>
                    <?php } else { ?>
                    <a href="<?php echo base_url().'poster_admin/login'; ?>"><button type="button" class="btn btn-default navbar-btn">登录</button></a>
                    <?php } ?>
                </div>
            </div>
        </div>
    </nav>
    <div class="container">
        <div class="col-sm-8 col-sm-offset-2">